

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class Languages
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _LanguageNameAR ="";
public System.String LanguageNameAR
{
get { return _LanguageNameAR;}
set { _LanguageNameAR = value;}
}
System.String _LanguageNameEN ="";
public System.String LanguageNameEN
{
get { return _LanguageNameEN;}
set { _LanguageNameEN = value;}
}
public Languages()
{
}
public Languages(System.Int64 __ID,System.String __LanguageNameAR,System.String __LanguageNameEN)
{
_ID = __ID;
_LanguageNameAR = __LanguageNameAR;
_LanguageNameEN = __LanguageNameEN;
}


             public override bool Equals(object obj)
         {
             if (obj is Languages)
             {
                 Languages newObj = (Languages)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
